package ca.eloas.judging.model;

import com.googlecode.objectify.annotation.Entity;

/**
 * @author JP
 */
@Entity
public class CompetitionObject extends DBObjectImpl<CompetitionObject> implements Competition {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TeamObject createTeam(String name) {

        return new TeamObject(this, name);
    }

}
